//
//  ViewController.m
//  05-homework
//
//  Created by dllo on 16/7/20.
//  Copyright © 2016年 YMJ. All rights reserved.
//

#import "ViewController.h"


@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    self.view.backgroundColor = [UIColor brownColor];
    self.imageArray = [NSMutableArray arrayWithObjects:@"01", @"02", @"03", @"04", @"05", @"06", @"07", @"08", nil];

    CarouseFigure *carouseFigure = [CarouseFigure creatCarouseFigureWithFrame:CGRectMake(0, [UIScreen mainScreen].bounds.size.height / 4 + 100, [UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.width / 2) imageArray:_imageArray];
    [self.view addSubview:carouseFigure];
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
